Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erts: Fix global literal to correctly use erts_mem_guard #8964

Merged

Conversation

garazdawi
Copy link
Contributor

The ptr given to erts_mem_guard needs to be aligned to a page boundary for memprotect to work. Also we need to unguard the memory before we update the heap_size.

The ptr given to erts_mem_guard needs to be aligned to a page
boundary for memprotect to work. Also we need to unguard the
memory before we update the heap_size.
@garazdawi garazdawi added team:VM Assigned to OTP team VM fix testing currently being tested, tag is used by OTP internal CI labels Oct 18, 2024
@garazdawi garazdawi added this to the OTP-28.0 milestone Oct 18, 2024
@garazdawi garazdawi self-assigned this Oct 18, 2024
Copy link
Contributor

github-actions bot commented Oct 18, 2024

CT Test Results

    3 files    141 suites   48m 51s ⏱️
1 596 tests 1 547 ✅ 49 💤 0 ❌
2 305 runs  2 236 ✅ 69 💤 0 ❌

Results for commit b934b6e.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@garazdawi garazdawi merged commit 2f0e04b into erlang:master Oct 21, 2024
21 checks passed
@garazdawi garazdawi deleted the lukas/erts/fix-global_literal-mem_guard branch October 21, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants